<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>

<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <jsp:include page="../common/header.jsp" />
    <script type="text/javascript">
        $(function () {

        });
    </script>
    <jsp:include page="../common/mycss.jsp" />
</head>

<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <aside class="lyear-layout-sidebar">
            <!-- logo -->
            <div id="logo" class="sidebar-header">
                <jsp:include page="../common/title.jsp" />
            </div>
            <div class="lyear-layout-sidebar-scroll">
                <jsp:include page="../common/menu.jsp" />
            </div>
        </aside>
        <!--End 左侧导航-->
        <jsp:include page="../common/top.jsp" />
        <!--页面主要内容-->
        <main class="lyear-layout-content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-toolbar clearfix">
                                <h5><s:property value="grade.year"/>届<s:property value="grade.name"/>（<s:property value="grade.classID"/>）班级第<s:property
                                        value="xueqiChose"/>学期授课安排</h5>
                            </div>
                            <div class="card-body">
                                <s:fielderror></s:fielderror>
                                <div id="accordion">
                                    <div class="frame">
                                        <form action="teachingArrangeFormRegister.action" method="post">
                                            <table class="datalist">
                                                <tr>
                                                    <th align="center"><strong>班级</strong></th>
                                                    <th align="center"><strong>学期</strong></th>
                                                    <th align="center"><strong>选择科目</strong></th>
                                                    <th align="center"><strong>授课教师</strong></th>
                                                </tr>
                                                <s:iterator value="superCourses">
                                                    <tr>
                                                        <td>&nbsp;</td>
                                                        <td>&nbsp;</td>
                                                        <td><input type="checkbox" name="courseChose"
                                                                   value='<s:property value="courseBianHao"/>'/>
                                                            <s:property value="courseName"/></td>
                                                        <td><select name="teacherChose">
                                                            <option>--请选择--</option>
                                                            <s:iterator value="subTeachers">
                                                                <option value='<s:property value="courseBianHao"/><s:property value="bianHao"/>'>
                                                                    <s:property value="name"/>
                                                                </option>
                                                            </s:iterator>
                                                        </select></td>
                                                    </tr>
                                                </s:iterator>
                                                <tr>
                                                    <td>
                                                        <s:property value="grade.year"/>届<s:property value="grade.name"/> （<s:property value="grade.classID"/>）班级
                                                        <input type="hidden" value='<s:property value="grade.bianHao"/>' name="gradeChose"/>
                                                    </td>
                                                    <td align="center">
                                                        <s:property value="xueqiChose"/>
                                                        <input type="hidden" value='<s:property value="xueqiChose" />' name="xueqiChose"/>
                                                    </td>
                                                    <td colspan="2" align="center"><input type="submit" value="注册"/> <input type="reset" value="取消"/>
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>

            </div>

        </main>
        <!--End 页面主要内容-->
    </div>
</div>
</body>
</html>
